

<!DOCTYPE HTML>
<html lang="en">
<head>
    <link rel="stylesheet" href="__PUBLIC__/phone/css/styles.css" />
    <meta charset='UTF-8' />
<meta name='generator' content='ecos.b2c' />
<title>会员中心_三鑫-灯世界网销平台</title>
<meta name='keywords' content='' />
<meta name='description' content='' />
<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'/>
<link href="__PUBLIC__/phone/css/zhuce_style.css" rel="stylesheet" media="screen, projection" />
<script src="__PUBLIC__/phone/js/shop.min.js"></script>
</head>
<body style="background-color: #F7F7F8;padding: 0;">
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?cdc1b98600fd737ffd391a2e9ad3bd57";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<style type="text/css">
    .m-header{
        /*border: 1px solid red;*/
        height: 180px;
        padding: 15px;
        /*background-image: url("http://www.opplestore.com/public/app/b2c/statics/kum-img/m-header.png");*/
/*        background: rgba(43, 33, 199, 0.88);*/
        background: #1EABF2;
    }
    .zxcv{
        height: 50px;
        /*border-bottom: 1px solid black;border-top:1px solid black;*/
    }
    .zxcv .zxcv-d{
        text-align: center;
        /*line-height: 50px;*/
        float: left;height: 100%;
    }
    .zxcv .zxcv-d .zxcv-d-v{
        margin-top: 6px;
    }
    .ul li{
        float: left;
        list-style: none;
        width: 25%;
        text-align: center;
    }
    .ul li img{
        height: 35px;
        width: 35px;
    }
    .ull li{
        float: left;
        list-style: none;
        width: 33%;
        text-align: center;
    }
    .ull li img{
        height: 45px;
        width: 45px;
    }
    .mem-avatar-k{
        border-radius: 50px;
        text-align: center;
        margin-top: 9px;
    }
    .mem-base-k{
        text-align: center;
    }
    .item3-cartnum{
       line-height: 20px;
        width: 20px;
        height: 20px;
        color: white;
        position: absolute;
        bottom: 35px;
        background: red;
        border-radius: 50%;
        left: 46%;
        }
    .item-daifukuan{
        line-height: 20px;
        width: 20px;
        height: 20px;
        color: white;
        position: relative;
        bottom: 48px;
        background: red;
        border-radius: 50%;
        left: 54%;
    }
</style>
<div class="full-screen">

    <div class="section" style="padding: 0;border: 0;">
        <div class="mem-info c-fix">
            <div class="m-header" style="color: white;">
                <div class="mem-avatar-k" >
                    <a href="/index.php/wap/member-info.html">
                    </a>
                </div>
                <div class="mem-base-k c-fix" >
                <div class="fix-f">
                    <!--<div class="d-line c-fix">-->
                        <!--<div class="mem-name">-->
                            <!--18831636757-->
                        <!--</div>-->
                        <!--<div class="mem-experience">-->
                            <!--<a href="/index.php/wap/member-security.html">修改密码</a>-->
                        <!--</div>-->
                    <!--</div>-->
                    <if condition="session('user_id') neq null">
                        <div class="mem-level" style="padding: 5px;margin-top:25px;">
                        <span class="icon ">
                             {:session('user_name')}
                            <if condition="session('user_type') eq 2">
                                <img src="__PUBLIC__/phone/img/dian.png" style="width: 10%;">
                            <elseif condition="session('user_type') eq 3"/>
                                <img src="__PUBLIC__/phone/img/shang.png" style="width: 10%;">
                            </if>
                        </span>
                        </div>
                        <div class="mem-level" style="margin-top:25px;">
                        <span class="icon ">
                        	<a href="{:U('login_out')}" style="color:white;"><img src="__PUBLIC__/phone/img/tuichu.png" alt="" style="height: 15px;vertical-align: sub;"/>【退出】</a>
                        </span>
                        </div>
                    <else/>
                        <div class="mem-level" style="padding: 5px;margin-top:25px;">
                        	<img src="__PUBLIC__/phone/img/zhuce.png" alt=""  style="height: 15px;vertical-align: sub;"/>
                            <a href="{:U('register')}" style="color:white">
                                <span class="icon ">
                                注册
                                </span>
                            </a>
                        </div>
                        <div class="mem-level" style="margin-top:25px;">
                        <span class="icon ">
                    		<img src="__PUBLIC__/phone/img/denglu.png" alt=""  style="height: 15px;vertical-align: sub;"/>
                         	<a href="login.html" style="color:white;">登录</a>
                        </span>
                        </div>
                    </if>
                </div>
            </div>
        </div>

            

            <div style="border: 0px;border-bottom: 0px solid black;line-height: 50px;" class="zxcv">
                <div style="float: left;margin-left: 15px;">
                <img src="__PUBLIC__/phone/img/wodedingdan.png" style="height: 23px;width: 22px;position: relative;top: 5px;">
                <span> &nbsp;&nbsp;我的订单</span>
                    </div>

                <div style="float: right;margin-right: 15px;">
                    <a href="{:U('Pay/wxjspay')}" class="">
                        <span> 退换申请&nbsp;&nbsp;</span>
                        <img src="__PUBLIC__/phone/img/tuihuanhuo.png" style="height: 20px;width: 20px;position: relative;top: 3px;">
                    </a>
                </div>
            </div>
            <div style="border: 0px;border-bottom: 0px solid black;height: 70px;" class="zxcv">
                <ul class="ul">
                    <li style="width: 25%;">
                        <if condition="session('user_id') eq null">
                            <a href="{:U('login')}">
                        <else/>
                            <a href="{:U('wait_pay')}">
                        </if>
                            <div style="margin-top: 5px;position: relative;height: 40px;">
                                <img src="__PUBLIC__/phone/img/daifukuan.png">
                                <neq name="not_pay_count" value="">
                                    <p class="item-daifukuan">{$not_pay_count}</p>
                                </neq>
                            </div>
                            <div>待付款</div>
                        </a>
                    </li>
                    <li style="width: 25%;">
                        <if condition="session('user_id') eq null">
                            <a href="{:U('login')}">
                        <else/>
                            <a href="{:U('orders_payment')}">
                        </if>
                            <div style="margin-top: 5px;position: relative;height: 40px">
                                <img src="__PUBLIC__/phone/img/daifahuo.png">
                                <neq name="not_delivery_count" value="">
                                    <p class="item-daifukuan">{$not_delivery_count}</p>
                                </neq>
                            </div>
                            <div>待发货</div>
                        </a>
                    </li>
                    <li style="width: 25%;">
                        <if condition="session('user_id') eq null">
                            <a href="{:U('login')}">
                        <else/>
                            <a href="{:U('orders_goodsReceipt')}">
                        </if>
                            <div style="margin-top: 5px;position: relative;height: 40px">
                                <img src="__PUBLIC__/phone/img/daishouhuo.png">
                                <neq name="not_receive_count" value="">
                                    <p class="item-daifukuan">{$not_receive_count}</p>
                                </neq>
                            </div>
                            <div>待收货</div>
                        </a>
                    </li>
                    <li style="width: 25%;">
                        <if condition="session('user_id') eq null">
                            <a href="{:U('login')}">
                        <else/>
                            <a href="{:U('orders_complete')}">
                        </if>
                            <div style="margin-top: 5px;"><img src="__PUBLIC__/phone/img/yiwancheng.png"></div><div>已完成</div>
                        </a>
                    </li>
                </ul>
                </div>
       
        </div>
    </div>

    <!--公共底部-->
    <include file="./phone/Home/View/Public/foot.html"/>

    <script>
        var e = $.fn.cookie('S[CART_NUMBER]')?$.fn.cookie('S[CART_NUMBER]'):'';
        if(e) $("#cartNum").text(e);
    </script>
    <script type="text/javascript">
    function is_weixn(){
        var ua = navigator.userAgent.toLowerCase();
        if(ua.match(/MicroMessenger/i)=="micromessenger") {
            return true;
        } else {
            $('#nav_member_center').attr('href','/index.php/wap/member.html');
            return false;
        }
    }
    is_weixn();

    (function(){
        $('.J-tab .trigger').on('tap',function(e){
            if($(this).attr('data-url') && $(this).attr('data-url') != 'true'){
                $.get($(this).attr('data-url'),function(re){
                    $($('.J-tab .panel')[$(this).index()]).append(re);
                }.bind(this));
                $(this).attr('data-url','true');
            }
            $(this).add($('.J-tab .panel')[$(this).index()]).addClass('act').siblings('.act').removeClass('act');
        });

        function changeVerify(element, hasEvent) {
            $.each(element,function(){
                var url;
                var img;
                var el = this;
                if(el.tagName === 'IMG') {
                    img = el;
                    url = el.getAttribute('src').split('?')[0];
                }
                else if(el.tagName === 'A') {
                    img = el.previousElementSibling;
                    url = el.getAttribute('href');
                }
                if(hasEvent) $(el).on('touchend click', function(e){e.preventDefault();}).on('tap longTap', changeCode.bind(el, img, url));
                else changeCode(img, url);
            });
        }
        function changeCode(img, url){
            url = url || img.src.split('?')[0];
            var random = +new Date;
            img.src = url + '?' + random;
            return false;
        }
        changeVerify($('form .auto-change-verify-handle'), true);

        $(document).on('submit', 'form', function(){
            var sel = $('.region select'),
                region_false = false;
            $.each(sel,function(){
                if((this.style.visibility == 'visible') && (this.selectedIndex==0))
                    region_false = true;
            });
            if(region_false){
                alert('请选择完整地区！');
                return false;
            }

            var required = $(this).find('input[required]');

            if(required.length){
                var checkEmpty = false, ipt;
                $.each(required,function(){
                    ipt = $(this);
                    if(ipt.val()=='' && ipt.offset().height){
                        checkEmpty = ipt;
                        if(ipt.attr('data-caution'))
                            alert(ipt.attr('data-caution'));
                        return false;
                    }
                });
                if( checkEmpty )return false;
            }
            if($(this).attr('data-type') == 'ajax'){
                var self = $(this);
                $(this).find('[type=submit]').prop('disabled', true);
                $[$(this).attr('method')]($(this).attr('action'),$(this).serialize(),function(re){
                    try{
                        re = JSON.parse(re);
                    }catch(e) {}
                    var update = self.attr('data-update');
                    if(re.error){
                        if($('form .auto-change-verify-handle').length > 0){
                            $('form .auto-change-verify-handle').trigger('tap');
                        }
                        self.find('[type=submit]').prop('disabled', false);
                        return alert(re.error);
                    }else{
                        if($(update).size()) {
                            $(update).html(re);
                        }
                        else {
                            $('#success .checkout-success').html(re.success);
                            new Dialog('#success',{title:'提交成功！',type:'noclose'});
                            setTimeout(function(){location.href = re.redirect},1000);
                        }
                    }
                });
                return false;
            }else{
                return true;
            }
        });


        var e = $.fn.cookie('UNAME')?$.fn.cookie('UNAME'):'',

            cartNum = $.fn.cookie('S[CART_NUMBER]')?$.fn.cookie('S[CART_NUMBER]'):'';

        e += $.fn.cookie('LV_NAME')?$.fn.cookie('LV_NAME'):'';

        if(e){
            $("#footerloginuname").text(decodeURIComponent(e));
            $("#footerlogout").show();
            if($("#footerlogin"))
                $("#footerlogin").hide();
        }else{
            $("#footerlogin").show();
            if($("#footerlogout"))
                $("#footerlogout").hide();
        }
        if(cartNum)$('.cart-num').html(cartNum).show();
        else $('.cart-num').hide();
    })();


//  var mySwiper = new Swiper('.swiper-container',{
//      loop: true,
//      pagination: '.swiper-pagination',
//      autoplay: 3000
//  });

</script>
</div>
</body>
</html>
